﻿#ifndef TaskManager_H
#define TaskManager_H

#include <QObject>
#include <QThread>
#include <QMutex>
#include <QDebug>

#include "Console/tables.h"

class GlobalData;
class TaskReceiver;
class TaskQuality;
class TaskDataDelete;

class TaskManager : public QObject
{
    Q_OBJECT

private:
    explicit TaskManager(QObject *parent = nullptr);

public:
    static TaskManager* GetInstance(void)
    {
        static TaskManager instance;
        return &instance;
    }
public slots:
    void Init();

signals:

public:
    GlobalData          *globalData;
    QMutex              mutex;

    QList<TaskReceiver*> receiverList;

    TaskQuality         *taskQuality;
    TaskDataDelete      *taskDataDelete;

private:

};

#endif // TaskManager_H
